package com.wanshi.cloud.service;

import com.wanshi.cloud.entity.Orders;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 顽石教育-www.wanshi.com
 * @since 2021-09-02
 */
public interface IOrderService extends IService<Orders> {

    List<Orders> findByUserId(Integer userId);

    Orders findById(String id);

    Orders findProductById(String id);
}
